﻿<%@ Page Language="C#" MasterPageFile="~/WebSite/manager.Master" validateRequest="false" AutoEventWireup="true" CodeFile="m_news_edit.aspx.cs" Inherits="WebSite_m_news_edit" Title="新闻编辑" %>
<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <style type="text/css">
    .TableStyle
    {
        margin-top:20px;
        margin-left:20px;
        font-size:16px;	
        width:650px;
    }
    .EditType
    {
    	font-size:15px;
    	height:450px;
    	width:530px;
    	overflow:hidden;
    	overflow:auto;
    }
    .uploadBtnStyle
    {
    	margin-top:15px;
    	margin-bottom:15px;
    	margin-left:170px;
    	width:60px;
    	height:25px;
    	background-color:#669DF0;
    	font-size:16px;
    	font-weight:bold;
    	color:#FFFFFF;
    }
    .CancelBtnStyle
    {
    	margin-top:15px;
    	margin-bottom:15px;
    	margin-left:25px;
    	width:60px;
    	height:25px;
    	background-color:#669DF0;
    	font-size:16px;
    	font-weight:bold;
    	color:#FFFFFF;
    }
    .TitleStyle
    {
        margin-top:10px;
        margin-left:30px;
        width:400px;
        height:60px;
    }
    .TitleStyle h1
    {
    	margin-top:0px;
    	background-image:url(../images/Edit.png);
        background-repeat:no-repeat;
        font-size:20px;
        width:400px;
        height:50px;
        padding-top:10px;
        padding-left:50px;
    }
</style>
<div class="TitleStyle"><h1>添加/修改文章</h1></div>
<table class="TableStyle">
    <tr>
        <td width="70px" align="right">文章标题:</td>
        <td>
            <asp:TextBox ID="TitleTextBox" runat="server" MaxLength="50" Width="350px" 
                ontextchanged="TitleTextBox_TextChanged"></asp:TextBox>
            <b>(50字以内)</b>
        </td>
    </tr>
    <tr>
        <td style="height:19px;">文章类别:</td>
        <td>
            <asp:DropDownList ID="CatagoryDropDownList" runat="server" Font-Size="16px">
                <asp:ListItem Text="站内新闻" Value="0" />
                <asp:ListItem Text="重要通知" Value="1" />
                <asp:ListItem Text="健康知识" Value="2" />
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td>文章内容:</td>
    </tr>
    <tr>
       <td></td>
       <td>
                <FCKeditorV2:FCKeditor ID="ContentEditer" runat="server" BasePath="~/fckeditor/" Height="600px" Width="530px">
                </FCKeditorV2:FCKeditor>
       </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <asp:Button ID="UploadBtn" runat="server" CssClass="uploadBtnStyle" Text="提交" 
                onclick="UploadBtn_Click" />
            <asp:Button ID="CancelBtn" runat="server" CssClass="CancelBtnStyle"  
                Text="取消" onclick="CancelBtn_Click" />
        </td>
    </tr>
</table>
</asp:Content>

